wd := $(PWD)

.PHONY: orderer-docker
orderer-docker:
	#rm -rf payload
	#mkdir -p payload
	#rm -f $(GOPATH)/src/fabric-orderer-tm/orderer/orderer
	#cd $(GOPATH)/src/fabric-orderer-tm/orderer && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
	#cp $(GOPATH)/src/fabric-orderer-tm/orderer/orderer $(wd)/payload
	#cd $(GOPATH)/src/fabric-orderer-tm/sampleconfig && tar jcvf sampleconfig.tar.bz2 * && mv sampleconfig.tar.bz2 $(wd)/payload
	#cp $(GOPATH)/linux/tendermint payload/
	docker build -t hyperledger/fabric-orderer-tm:x86_64-1.0.6 .